import axios from '../utils/request';
// 商铺详情
export const goodShoping = shopid => axios({
    url: '/shopping/restaurant/' + shopid,
})
// 食品列表
export const footList = params => axios({
    url: '/shopping/v2/menu',
    params
})
//获取评价分数
export const ratings = id => axios({
    url: '/ugc/v2/restaurants/' + id + '/ratings/scores',
})
//商铺评价分类 
export const tags = id => axios({
    url: '/ugc/v2/restaurants/' + id + '/ratings/tags'
})
//商铺评价
export const remakes = params => axios({
    url: '/ugc/v2/restaurants/' + params.restaurant_id + '/ratings'
})